using System;
using System.Collections.Generic;
using System.Text;

namespace ClientTools.Client.Library.Provider
{
    public class ProviderInfoCollection: List<ProviderInfo>
    {
        public ProviderInfo GetProviderByName(string providerName) 
        {
            foreach (ProviderInfo  var in this)
            {
                if (var.ProviderName == providerName)
                {
                    return var;
                }
            }
            return null;
        }
    }
}
